﻿@using BBICMS.Infrastructure;
<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title _ @SettingsManager.Contact.CompanyName</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="~/Content/Bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/Bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
    <link href="~/Content/iconfont/font-awesome/css/font-awesome.min.css" rel="stylesheet" />

    @Styles.Render("~/Content/Admin/css/hnz")  
    @Scripts.Render("~/bundles/admin/modernizr")

    @RenderSection("header", required: false)   
    <!--[if lt IE 9]>
        <script src="~/Content/Admin/js/lib/respond.min.js"></script>
     <![endif]-->
</head>
<body>

    <!-- navbar start -->
    <nav class="navbar navbar-default navbar-inverse sig-navbar" role="navigation">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand logo" href="#">bbicms Admin</a>
        </div>
        <p class="navbar-text">@SettingsManager.Contact.CompanyName</p>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          

            <ul class="nav navbar-nav navbar-right">
                <li><a href="/" title="返回首页"><i class="fa fa-home"></i> 返回首页</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">你好，@User.Identity.Name <b class="caret"></b></a>
                    @*<ul class="dropdown-menu">
                        <li><a href="/bbi-Admin/Users/UpdatePWD.aspx">修改密码</a></li>
                    </ul>*@
                </li>
                <li><a href="javascript:document.getElementById('logoutForm').submit()"><i class="fa fa-sign-out"></i> 退出系统</a></li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </nav>
    <!-- navbar end -->
    @using (Html.BeginForm("LogOff", "Account", new { area = "" }, FormMethod.Post, new { id = "logoutForm" }))
    {
        @Html.AntiForgeryToken()

    }

    
    <div id="wrapper">
        @Html.Action("LeftNavs", "Menu", new { categoryId = SettingsManager.Menu.BackMenuCId })
        @*<div id="sidebar-nav" class="leftcol">
            @RenderSection("leftNav", required: false)

            

        </div>*@

        <div id="rightcol" class="rightcol">
            @Html.Action("Crumbs", "Menu", new { areaName = Html.Area(), controller = Html.Controller(), action = Html.Action() })
            <div class="container-fluid main-content">
                @RenderBody()
            </div>       
           
            <footer id="pagefooter">
                Copyright &copy; 2012-@DateTime.Now.Year <a id="hlSiteInfo" href="@SettingsManager.Site.DeveloperDomainName">@SettingsManager.Site.Developer</a> All Rights  Reserved
                Powered by @SettingsManager.Site.Version &copy; @DateTime.Now.Year
            </footer>


        </div>
    </div>

           
    <!-- The Scripts -->
    <!--[if lte IE 8]>
    @Scripts.Render("~/bundles/jqueryForIE")
    <![endif]-->
    <!--[if gte IE 9]><!-->
    @Scripts.Render("~/bundles/jquery")
    <!--<![endif]-->

    @Scripts.Render("~/bundles/Admin/js")
    <script src="/Content/Admin/js/lib/h5f.js"></script>



    @RenderSection("footer", required: false)
</body>
</html>
